/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapProjectBadManagement.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月18日上午11:40:51
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(风险提示，异常经营信息)
 * @author lvxc
 * @date 2018年4月18日 上午11:40:51
 */
@Document(indexName = "dm_map_project_bad_management", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapProjectBadManagement implements Serializable{

    private static final long serialVersionUID = 1L;
    
    @Id
    private String id;

    /**
     * @Fields SYS_add_time : 
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : 
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : 
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields in_date : 
     */
    @Field(type = FieldType.keyword)
    private String in_date;
    
    /**
     * @Fields in_decisive_organization : 
     */
    @Field(type = FieldType.keyword)
    private String in_decisive_organization;
    
    /**
     * @Fields in_reason :
     */
    @Field(type = FieldType.text ,analyzer="ik_max_word")
    private String in_reason;
    
    /**
     * @Fields mapping_company : 
     */
    @Field(type = FieldType.keyword)
    private String mapping_company;
    
    /**
     * @Fields out_date : 
     */
    @Field(type = FieldType.keyword)
    private String out_date;
    
    /**
     * @Fields out_decisive_organization : 
     */
    @Field(type = FieldType.text ,analyzer ="ik_max_word")
    private String out_decisive_organization;
    
    /**
     * @Fields out_reason : 
     */
    @Field(type = FieldType.keyword)
    private String out_reason;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSYS_add_time() {
        return SYS_add_time;
    }

    public void setSYS_add_time(String sYS_add_time) {
        SYS_add_time = sYS_add_time;
    }

    public String getSYS_check_time() {
        return SYS_check_time;
    }

    public void setSYS_check_time(String sYS_check_time) {
        SYS_check_time = sYS_check_time;
    }

    public String getSYS_dm_update_time() {
        return SYS_dm_update_time;
    }

    public void setSYS_dm_update_time(String sYS_dm_update_time) {
        SYS_dm_update_time = sYS_dm_update_time;
    }

    public String getIn_date() {
        return in_date;
    }

    public void setIn_date(String in_date) {
        this.in_date = in_date;
    }

    public String getIn_decisive_organization() {
        return in_decisive_organization;
    }

    public void setIn_decisive_organization(String in_decisive_organization) {
        this.in_decisive_organization = in_decisive_organization;
    }

    public String getIn_reason() {
        return in_reason;
    }

    public void setIn_reason(String in_reason) {
        this.in_reason = in_reason;
    }

    public String getMapping_company() {
        return mapping_company;
    }

    public void setMapping_company(String mapping_company) {
        this.mapping_company = mapping_company;
    }

    public String getOut_date() {
        return out_date;
    }

    public void setOut_date(String out_date) {
        this.out_date = out_date;
    }

    public String getOut_decisive_organization() {
        return out_decisive_organization;
    }

    public void setOut_decisive_organization(String out_decisive_organization) {
        this.out_decisive_organization = out_decisive_organization;
    }

    public String getOut_reason() {
        return out_reason;
    }

    public void setOut_reason(String out_reason) {
        this.out_reason = out_reason;
    }

    public List<WeightJson> getWeight_json() {
        return weight_json;
    }

    public void setWeight_json(List<WeightJson> weight_json) {
        this.weight_json = weight_json;
    }
    
    
}

